package com.scrm.api.wx.cp.dto;

import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @author xxh
 * @since 2022-02-22
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "客户群聊标签组修改请求参数")
public class WxGroupChatTagGroupUpdateDTO {

    @ApiModelProperty(value = "'ID'", required = true)
    @NotBlank(message = "id不能为空")
    private String id;

    @ApiModelProperty(value = "外部企业ID", required = true)
    @NotBlank(message = "外部企业ID不能为空")
    private String extCorpId;

    @ApiModelProperty(value = "名称", required = true)
    @NotBlank(message = "名称不能为空")
    private String name;

    @ApiModelProperty(value = "order值大的排序靠前")
    private Long order;

    @ApiModelProperty(value = "刪除的标签id列表")
    private List<String> deleteTagIds;

    @ApiModelProperty(value = "修改的标签列表，如果为新增标签则不用传id")
    private List<WxGroupChatTagUpdateDTO> updateTags;

}
